import cv2
import matplotlib.pyplot as plt
import numpy as np 


import pymodules.imgproc as imgproc





for i in range(5):
    imgproc.edge_canny( './ps/part7/ok/%d.bmp'%(i+1),40,80,'./ps/part7/ok/%02d.bmp'%(i+1))

for i in range(2):
    imgproc.edge_canny( './ps/part7/ng/%d.bmp'%(i+1),40,80,'./ps/part7/ng/%02d.bmp'%(i+1))



# for i in range(2):
#     img = cv2.imread('./ps/part2/ng/%d.bmp'%(i+1))
#     cv2.imwrite('./ps/part2/ng/%02d.bmp'%(i+1))